package com.ghc.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

@FeignClient(name="ghc-service-resume",path = "/resume")
public interface ResumeFeign {
    //调⽤的请求路径
    @RequestMapping(value = "/openstate/{userId}")
    Integer findDefaultResumeByUserId(@PathVariable Long userId);

    @RequestMapping("/message")
    String configMessage();
}
